<!-- 导航URL -->
<div class="row wrapper border-bottom white-bg page-heading">
	<div class="col-md-12">
		<ol class="breadcrumb">
			<li><a>主页</a></li>
			<li><a>商户管理</a></li>
			<li class="active"><strong>商户审核查询</strong></li>
		</ol>
	</div>
</div>
<!-- 主要内容 -->
<div class="wrapper wrapper-content animated fadeIn" ng-app
	ng-controller="merchantExamineCtrl">
	<form class="form-horizontal" id="form1">
			<div class="row">
				<div class="col-lg-12">
					<div class="">
						<div class="panel-body ibox float-e-margins">
							<div class="ibox-title">
								<h5>商户信息多条列表查询</h5>
							</div>
							<div class="ibox-content">
								<div class="form-group">
									<label class="col-sm-2 control-label">商户进件编号：</label>
									<div class="col-sm-3">
										<input type="text" class="form-control" name="info.merchantNo" ng-model="info.mbpId">
									</div>
									<label class="col-sm-2 control-label">商户名称/编号：</label>
									<div class="col-sm-3">
										<input type="text" class="form-control" name="info.merchantNo" ng-model="info.merchantNo">
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">代理商名称：</label>
									<div class="col-sm-3">
										<select name="autocomplete-select" id="autocomplete-select" ng-model="info.agentName" ng-options="x.value as x.text for x in agent" style="width: 100%" chosen chosen-data="agent" chosen-keyup="getStates">
										</select>
									</div>
									<label class="col-sm-2 control-label">包含下级：</label>
									<div class="col-sm-3">
										<select class="form-control" ng-model="info.agentNode" ng-options="x.value as x.text for x in IsYN"/>
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">业务产品：</label>
									<div class="col-sm-3">
										<select class="form-control" ng-model="info.productType" ng-options="x.bpId as x.bpName for x in productTypes"/>
									</div>
									<label class="col-sm-2 control-label">机具类型：</label>
									<div class="col-sm-3">
										<select class="form-control" ng-model="info.termianlType" ng-options="x.hpId as x.typeName for x in termianlTypes"/>
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">创建时间:</label>
									<div class="col-sm-4">
										<input id="d5231" class="form-control" type="datetime" ng-model="info.sTime" onchange=""  style="width:auto;display:inline-block;"
											   onFocus="var d5232=$dp.$('d5232');WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd HH:mm:ss',changed:verifyTime(1,'#d5231','#d5232',365,1),onpicked:function(){d5232.focus();},maxDate:'#F{$dp.$D(\'d5232\')||\'%y-%M-%d\'}'})"/>
										~
										<input id="d5232" class="form-control" type="datetime"  ng-model="info.eTime" onchange=""  style="width:auto;display:inline-block;"
											   onFocus="WdatePicker({skin:'whyGreen',dateFmt: 'yyyy-MM-dd HH:mm:ss',changed:verifyTime(2,'#d5231','#d5232',365,1),minDate:'#F{$dp.$D(\'d5231\')}',maxDate:'%y-%M-%d 23:59:59'})"/>
										<br/><span><font color="#999">备注：查询范围不能超过365天</font></span>
									</div>
									<label class="col-sm-1 control-label">初审次数：</label>
									<div class="col-sm-3">
										<input type="number" class="form-control" ng-model="info.auditNum">
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">商户手机号：</label>
									<div class="col-sm-3">
										<input type="text" class="form-control" ng-model="info.mobilephone">
									</div>
									<label class="col-sm-2 control-label">身份证号码：</label>
									<div class="col-sm-3">
										<input type="text" class="form-control" ng-model="info.cardId">
									</div>
								</div>

								<div class="form-group">
									<label class="col-sm-2 control-label">鉴权通道：</label>
									<div class="col-sm-3">
										<select class="form-control" ng-model="info.authChannel"
														ng-options="x.value as x.text for x in authChannels">
											<option>全部</option>
										</select>
									</div>
									<label class="col-sm-2 control-label">自动审核活体通道：</label>
									<div class="col-sm-3">
										<select class="form-control" ng-model="info.autoMbpChannel"
														ng-options="x.value as x.text for x in huoTiChannels">
											<option>全部</option>
										</select>
									</div>
								</div>



								<div class="form-group">
									<label class="col-sm-2 control-label">平台审核人员：</label>
									<div class="col-sm-3">
										<select class="form-control" ng-model="info.auditorId" ng-options="x.id as x.userName for x in userNames"/>
									</div>
									<label class="col-sm-2 control-label">机具活动类型：</label>
									<div class="col-sm-3">
										<select class="form-control" ng-model="info.activityType" ng-options="x.value as x.text for x in activityTypes"/>
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">推广来源：</label>
									<div class="col-sm-3">
										<select class="form-control" ng-model="info.recommendedSource" ng-options="x.value as x.text for x in recommendedSources"/>
									</div>
									<label class="col-sm-2 control-label">状态：</label>
									<div class="col-sm-3">
										<select class="form-control" ng-model='info.status'
												ng-options="x.value as x.text for x in statusTypes">
										</select>
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">进件来源:</label>
									<div class="col-sm-3">
										<select class="form-control" ng-model="info.itemSource"
												ng-options="x.value as x.text for x in itemSourceSelect"/>
									</div>
									<label class="col-sm-2 control-label">商户类型:</label>
									<div class="col-sm-3">
										<select class="form-control" ng-model="info.merchantType"
												ng-options="x.value as x.text for x in merchantTypeLists"/>
									</div>
								</div>
								<div class="form-group">
									<div class="col-lg-12">
										<div class="col-sm-2"></div>
										<button class="btn btn-primary6 btn-mr20" type="button"
											ng-click="selectInfos()" id="btnSubmit">查询</button>
										<button class="btn btn-primary3 btn-mr20" type="button"
											ng-click="clear()" >清空</button>
										<button class="btn btn-new btn-mr20" type="button"
												ng-show="hasPermit('merchant.autoCheckBatch')"
												ng-click="toAutoCheckBatch()" style="width: 120px" id="btnAutoCheckBatch">批量转自动审件
										</button>
										<button class="btn btn-new" type="button"
												ng-show="hasPermit('merchant.verifiedWarning')"
												ui-sref="merchant.verifiedWarning" style="width: 120px" id="btnVerifiedWarning">实名认证预警
										</button>
									</div>
								</div>
						</div>

						</div>

						<div class="panel-body ibox float-e-margins">
								<div class="ibox-title">
									<h5>商户信息列表</h5>
									</div>
								<div class="ibox-content">
									<div ui-grid="gridOptions" ui-grid-resize-columns ui-grid-pagination ui-grid-selection ui-grid-pinning class="grid">
										<div ng-show="loadImg" class="timg"></div>
									</div>
								</div>
							</div>
						<div style="height: 30px"></div>
					</div>
				</div>
			</div>
	</form>

</div>